package us.codecraft.webmagic.dao;

import org.apache.ibatis.annotations.Mapper;
import us.codecraft.webmagic.model.samples.tochong.Pic;

import java.util.List;

/**
 * @Author : xuaoping
 * @Date: 2021/7/14
 */
@Mapper
public interface TcPicDao {

    int batchInsert(List<Pic> pics);

    int insert(Pic pic);

    int updateByImageId(Pic pic);

    Pic getByImageId(String imageId);

    List<Pic> getList(int id);
}
